﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Square:Shape
    {
        public int sideLen;
        public override void GetArea()
        {
            base.GetArea();
            Console.WriteLine("长方形的面积为"+(sideLen+sideLen));
        }
    }
}
